import request from '@/utils/request'
//首页实时概况
export function realTime(query) {
  return request({
    url: '/yxl/billReport/realTime',
    method: 'get',
    params: query
  });
}
//首页TOP10商品
export function getTop10(query) {
  return request({
    url: '/yxl/billReport/top10',
    method: 'get',
    params: query
  });
}
//首页往来单位模块
export function queryCustomer(query) {
  return request({
    url: '/yxl/billReport/queryCustomer',
    method: 'get',
    params: query
  });
}
//首页低库存预警
export function lowInventoryWarning(query) {
  return request({
    url: '/yxl/billReport/lowInventoryWarning',
    method: 'get',
    params: query
  });
}
//首页有效期预警
export function expWarning(query) {
  return request({
    url: '/yxl/billReport/expWarning',
    method: 'get',
    params: query
  });
}
//出入库明细
export function queryWarehouseOutInDetail(query) {
  return request({
    url: '/yxl/billReport/queryWarehouseOutInDetail',
    method: 'get',
    params: query
  });
}
//出入库明细仓库下拉
export function queryWarehouseList(query) {
  return request({
    url: '/warehouse/getAllWarehouseList',
    method: 'get',
    params: query
  });
}
//导出出入库明细
export function exportWarehouseOutInDetail(query) {
  return request({
    url: '/yxl/billReport/exportWarehouseOutInDetail',
    method: 'get',
    params: query
  });
}
//统计报表入库单据
export function queryInBillsList(query) {
  return request({
    url: '/yxl/billReport/queryInBillsList',
    method: 'get',
    params: query
  });
}
//统计报表入库单据echart
export function queryInChartInfo(query) {
  return request({
    url: '/yxl/billReport/queryInChartInfo',
    method: 'get',
    params: query
  });
}
//统计报表出库单据echart
export function queryOutChartInfo(query) {
  return request({
    url: '/yxl/billReport/queryOutChartInfo',
    method: 'get',
    params: query
  });
}
//统计报表出库单据
export function queryOutBillsList(query) {
  return request({
    url: '/yxl/billReport/queryOutBillsList',
    method: 'get',
    params: query
  });
}
//首页预警货位
export function queryUnitNum(query) {
  return request({
    url: '/yxl/billReport/queryUnitNum',
    method: 'get',
    params: query
  });
}

